package ch.usi.inf.pf2.node;

import ch.usi.inf.pf2.node.Node;

/**
 * A Multiplication ,it multiple two  child with each other . 
* @author Matthias.Hauswirth@unisi.ch
 */

public final class Multiplication extends ArithmeticOperation {
	
	public  Multiplication(final Node left, final Node right) {
		super(left, right);
	}

	protected double compute(double left, double right) {
		return left*right;
	}
	
}

